<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>修改</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <style>
        /* div[class|=col]{
            border: 1px solid #0080FF;
        }
        body{
            background-image: url(img/a3.png);
        } */
    </style>
</head>
<body>
<div class="container" style="width: 800px;position: relative;top: 70px;">

    <form method="post" action="/AddRenting.do">

        <!-- 在row里面，默认会把一行分为12块-->
        <div class="row" style="">
            <div class="col-lg-12"><h2 align="center">添加</h2></div>
        </div>


        <div class="row">

            <div class="col-lg-3" style="height: 200px;">
                <img src="./img/a1.jpg" width="100%" height="100%" />
            </div>
            <div class="col-lg-9" style="height: 200px;">


                <div class="row">
                    <div class="col-lg-2"style="height: 40px;">
                        <h4>名称:</h4>

                    </div>
                    <div class="col-lg-10"style="height: 40px;">

                        <input type="text" class="form-control" name="pname"
                               placeholder="设置出租房的名称">

                    </div>
                </div>

                <div class="row">
                    <div class="col-lg-2"style="height: 40px;">
                        <h4>房型:</h4>

                    </div>
                    <div class="col-lg-10"style="height: 40px;">

                        <input type="text" class="form-control" name="attribute"
                               placeholder="输入0-2来设置房型">

                    </div>
                </div>


                <div class="row">
                    <div class="col-lg-2"style="height: 40px;">
                        <h4>价格:</h4>

                    </div>
                    <div class="col-lg-10"style="height: 40px;">

                        <input type="text" class="form-control" name="price"
                               placeholder="设置出租价格">

                    </div>
                </div>

                <div class="row">
                    <div class="col-lg-2"style="height: 40px;">
                        <h4>编号:</h4>

                    </div>
                    <div class="col-lg-10"style="height: 40px;">

                        <input type="text" class="form-control" name="number"
                               placeholder="设置编号">

                    </div>
                </div>



            </div>
        </div>
        <div class="row">
            <div class="col-lg-5"></div>
            <div class="col-lg-2"><button  type="submit" class="btn btn-default" style="width: 90px; height: 35px; position: relative;left: 20px;background-color: #00BFFF;">添加</button></div>
            <div class="col-lg-5"></div>
        </div>
    </form>
</div>
</body>
</html>